<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class BizrecordViewModel extends ViewModel {

    public $viewFields = array(

        'biz'=>array('id', 'name', 'tel', 'contact',  'zoneid', 'znum', 'znum2', 'water', 'electricity', 'property', 'wastewater', 'heating', 'w_price', 'e_price', 'p_price', 'ww_price', 'h_price', 'typeid', 'status','meternum1','meternum2','bizSid','lastdate','p_update','h_update','_type'=>'LEFT'),

         'meter_record'=>array('id'=>'meterid','meterMon','awnum','wwnum','aenum','wnum1','enum1','inputflag','printflag','resid','_on'=>'biz.id=meter_record.bizid'),

 );

}


?>
